package cn.dnuifood_cjy.dnuifood_16110100529.service;

import java.util.List;

import cn.dnuifood_cjy.dnuifood_16110100529.JavaBean.FoodBean;
import cn.dnuifood_cjy.dnuifood_16110100529.JavaBean.ShopBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ShopService {
    //获取所有店铺
    @GET("getAllShops.do")
    Call<List<ShopBean>> getAllShops();
    //获取当前店铺所有菜单
    @GET("getFoodByShop.do")
    Call<List<FoodBean>> getFoodByShop(@Query("shop_id") String shop_id);
    //获取店铺详情
    @GET("getShopById.do")
    Call<ShopBean> getShopById(@Query("shop_id") String shop_id);





    @GET("getFoodById.do")
    Call<FoodBean> getFoodById(@Query("food_id") String food_id);

    @GET("getFoodBySearch.do")
    Call<List<FoodBean>> getFoodBySearch(@Query("search") String search);


}
